package com.sc.study.foundation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sc.common.annotation.Excel;
import com.sc.common.core.domain.BaseEntity;

/**
 * 课程对象 sc_subject_table
 *
 * @author sc
 * @date 2022-04-24
 */
public class ScSubjectTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 班级课程老师编号 */
    @Excel(name = "班级课程老师编号")
    private Long clazzsubjectteacherid;

    /** 上课时间 */
    @Excel(name = "上课时间")
    private String uptime;

    /** 上课教室 */
    @Excel(name = "上课教室")
    private Long roomid;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private Long subid;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String subname;

    /** 章节编号 */
    @Excel(name = "章节编号")
    private Long chapterid;

    /** 章节名称 */
    @Excel(name = "章节名称")
    private String chaptername;

    /** 老师编号 */
    @Excel(name = "老师编号")
    private Long teacherid;

    /** 老师名称 */
    @Excel(name = "老师名称")
    private String teachername;

    @Excel(name = "教室名称")
    private String roomname;

    @Excel(name = "班级编号")
    private Long cid;

    @Excel(name = "班级名称")
    private String cname;

    public ScSubjectTable() {
    }

    public ScSubjectTable(Long clazzsubjectteacherid, String uptime, Long roomid, Long subid, String subname, Long chapterid, String chaptername, Long teacherid, String teachername, String roomname) {
        this.clazzsubjectteacherid = clazzsubjectteacherid;
        this.uptime = uptime;
        this.roomid = roomid;
        this.subid = subid;
        this.subname = subname;
        this.chapterid = chapterid;
        this.chaptername = chaptername;
        this.teacherid = teacherid;
        this.teachername = teachername;
        this.roomname = roomname;
    }

    public ScSubjectTable(Long clazzsubjectteacherid, String uptime, Long roomid, Long subid, String subname, Long chapterid, String chaptername, Long teacherid, String teachername, String roomname, Long cid, String cname) {
        this.clazzsubjectteacherid = clazzsubjectteacherid;
        this.uptime = uptime;
        this.roomid = roomid;
        this.subid = subid;
        this.subname = subname;
        this.chapterid = chapterid;
        this.chaptername = chaptername;
        this.teacherid = teacherid;
        this.teachername = teachername;
        this.roomname = roomname;
        this.cid = cid;
        this.cname = cname;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getRoomname() {
        return roomname;
    }

    public void setRoomname(String roomname) {
        this.roomname = roomname;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClazzsubjectteacherid(Long clazzsubjectteacherid)
    {
        this.clazzsubjectteacherid = clazzsubjectteacherid;
    }

    public Long getClazzsubjectteacherid()
    {
        return clazzsubjectteacherid;
    }
    public void setUptime(String uptime)
    {
        this.uptime = uptime;
    }

    public String getUptime()
    {
        return uptime;
    }
    public void setRoomid(Long roomid)
    {
        this.roomid = roomid;
    }

    public Long getRoomid()
    {
        return roomid;
    }
    public void setSubid(Long subid)
    {
        this.subid = subid;
    }

    public Long getSubid()
    {
        return subid;
    }
    public void setSubname(String subname)
    {
        this.subname = subname;
    }

    public String getSubname()
    {
        return subname;
    }
    public void setChapterid(Long chapterid)
    {
        this.chapterid = chapterid;
    }

    public Long getChapterid()
    {
        return chapterid;
    }
    public void setChaptername(String chaptername)
    {
        this.chaptername = chaptername;
    }

    public String getChaptername()
    {
        return chaptername;
    }
    public void setTeacherid(Long teacherid)
    {
        this.teacherid = teacherid;
    }

    public Long getTeacherid()
    {
        return teacherid;
    }
    public void setTeachername(String teachername)
    {
        this.teachername = teachername;
    }

    public String getTeachername()
    {
        return teachername;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("clazzsubjectteacherid", getClazzsubjectteacherid())
                .append("uptime", getUptime())
                .append("roomid", getRoomid())
                .append("subid", getSubid())
                .append("subname", getSubname())
                .append("chapterid", getChapterid())
                .append("chaptername", getChaptername())
                .append("teacherid", getTeacherid())
                .append("teachername", getTeachername())
                .toString();
    }
}
